<form method="post" action="{$sFormUrl}" style="margin:0px;">
{if $aFormHidden}
{foreach from=$aFormHidden item=item key=key}
<input type="hidden" name="{$key}" value="{$item}">
{/foreach}
{/if}
<table style="width:100%;" cellpadding="4">
{if !$bHideSubject}
<tr>
	<td style="text-align:right;" class="color">{language text="subject"}:</td>
    <td><input type="text" name="title" maxlength="50" size="35" value="{$sFormSubject}" onfocus="this.className='inputmain';" onblur="this.className='';" /></td>
</tr>
{/if}
<tr>
    <td style="text-align:right; vertical-align:top;">{language text="message"}:
        <div>
         <a class="link_action" href="javascript:void(0);" onclick="popUp2('{url link=public.popup.htmlguide}','500','500','yes','200','100');">[ {language text="html_guide"} ]</a>
        </div>
	</td>
    <td>
    <textarea cols="65" rows="20" name="text" id="maintext" onfocus="this.className='textarea';" onblur="this.className='';">{$sFormText}</textarea>
    {include file="$sMainTemplatePath/_blocks/smilies.html"}
    </td>
</tr>
<tr>
	<td></td>
	<td><input type="submit" name="{$sSubmitName}" value="{language text='submit'}" style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></td>
</tr>
</table>
</form>